package com.springboot.ww.platform.pd.lms.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 描述：
 *
 * @author 🧑 ‍wanwei
 * @since 2024-07-19 19:58
 */
@NoArgsConstructor
@Data
public class PdGoodWarehouseDTO {

    @JsonProperty("warehouseDTOList")
    private List<WarehouseDTOListDTO> warehouseDTOList;

    @NoArgsConstructor
    @Data
    public static class WarehouseDTOListDTO {
        @JsonProperty("validWarehouseList")
        private List<ValidWarehouseListDTO> validWarehouseList;
        @JsonProperty("siteId")
        private Integer siteId;
        @JsonProperty("siteName")
        private String siteName;

        @NoArgsConstructor
        @Data
        public static class ValidWarehouseListDTO {
            @JsonProperty("warehouseDisable")
            private Boolean warehouseDisable;
            @JsonProperty("warehouseId")
            private String warehouseId;
            @JsonProperty("warehouseName")
            private String warehouseName;
        }
    }

}
